package org.assistant.csp.data;

public class Menu {
	private int id;// 菜单ID
	private String name;// 菜单名称
	private String url;// URL
	private int level = 1;// 菜单的级别,默认为1级
	private int parentId = 0;// 父菜单ID,如果没有父菜单，则为0，默认为0。
	private boolean status = true;// 当前状态,true:启用；false:禁用。默认为true。
	private String explain = "";
	private int lft;
	private int rgt;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public int getLft() {
		return lft;
	}

	public void setLft(int lft) {
		this.lft = lft;
	}

	public int getRgt() {
		return rgt;
	}

	public void setRgt(int rgt) {
		this.rgt = rgt;
	}
}
